<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link th:href="@{/css/bootstrap.min.css}" rel="stylesheet"/>
    <script th:src="@{/js/jquery.min.js}"></script>
    <script th:src="@{/js/bootstrap.min.js}"></script>
</head>
<body>
<div class="container">
    <div class="page-header">
        <h3>当前商品状态</h3>
    </div>
    <div class="input-sm"></div>
    <table id="contentTable" class="table table-striped table-bordered table-hover">
        <thead>
        <tr>
            <th>商品名称</th>
            <th>二维码</th>
            <th>销售店</th>
            <th>商品状态</th>
        </tr>
        </thead>
        <tbody>
        <tr th:each="product : ${products}">
            <td th:text="${product.getProductName()}"></td>
            <td th:text="${product.getQrCode()}"></td>
            <td th:text="${product.getSellShop()}"></td>
            <td th:text="${product.getProductStatus()}"></td>
        </tr>
        </tbody>
    </table>
</div>
</body>
</html>
